<!--意见反馈-->
<template>
  <div class="main">
    <div class="main_header">
      <p>意见反馈</p>
    </div>
    <el-main>
      <p class="write_title">输入你的意见</p>
      <el-form ref="form" :model="feedback" label-width="80px">
        <el-form-item>
          <el-input
            type="textarea"
            placeholder="请输入内容"
            v-model="feedback.textarea"
            maxlength="200"
            show-word-limit
          >
          </el-input>
        </el-form-item>
        <el-form-item class="feedSubmit">
          <el-button type="primary" @click="onSubmit">提交</el-button>
        </el-form-item>
      </el-form>
    </el-main>
  </div>
</template>

<script>
import "../../../assets/scss/we.scss";
export default {
  data() {
    return {
      feedback: {
        textarea: "",
      },
    };
  },
  methods: {
    onSubmit() {
      console.log(this.feedback.textarea);
    },
  },
};
</script>

<style lang="scss" scoped>
.write_title {
  position: relative;
  top: -20px;
  text-align: center;
  margin-bottom: 10px;
}
.feedSubmit {
  display: flex;
  position: relative;
  left: -45px;
  align-items: center;
  justify-content: center;
}
</style>
